package com.yunxie.novelservice.domain.service;

import com.yunxie.novelservice.common.entity.PageResult;
import com.yunxie.novelservice.domain.entity.NovelsBo;

public interface NovelsDomainService {
    /**
     * 查看小说
     * @param novelsId
     * @return
     */
    NovelsBo queryNovels(Long novelsId);

    /**
     * 添加小说
     * @param novelsBo
     */
    void addNovels(NovelsBo novelsBo);

    /**
     * 删除小说
     * @param novelsId
     */
    void deleteNovels(Long novelsId);

    /**
     * 修改小说
     * @param novelsBo
     */
    void updateNovels(NovelsBo novelsBo);

    /**
     * 查询小说集合分页
     * @return
     */
    PageResult<NovelsBo> queryNovelsList(NovelsBo novelsBo);
}
